%module(directors="1",threads="1") ar8030_callback
%include "cpointer.i"
%{
  #include "../ar8030/warp_helper/ar8030_callback_helper.h"
%}

%feature("director") evt_callback;

%pointer_cast(void*, bb_event_link_state_t*, void_to_linksta);
%pointer_cast(void*, bb_event_chan_change_t*, void_to_chan_change);
%pointer_cast(void*, bb_event_mcs_change_t*, void_to_mcs_change);
%pointer_cast(void*, bb_event_plot_data_t*, void_to_plot_data);

%include "../ar8030/warp_helper/ar8030_callback_helper.h"
